<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>H5页面预览</title>
    <style>
        /* 使用px单位，以375px为设计基准 */
        html {
            font-size: 16px;
        }
        
        body {
            margin: 0; padding: 0; background: #f5f5f5; min-height: 100vh; position: relative; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; display: flex; justify-content: center; align-items: flex-start
        }
        
        .page-container {
            position: relative; width: 375px; min-height: 667px; box-shadow: 0 0 20px rgba(0,0,0,0.1) background: #ffffff;
        }
        
        .element {
            position: absolute; box-sizing: border-box
        }
        
        .grid-container {
            display: grid;
            gap: 10px;
            padding: 15px;
        }
        
        .grid-header {
            font-size: 12px;
            color: #666;
            margin-bottom: 10px;
            text-align: center;
            font-weight: bold;
        }
        
        .grid-content {
            display: grid;
            gap: 10px;
            height: calc(100% - 30px);
        }
        
        .grid-item {
            background: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 8px;
            min-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    </style>
</head>
<body>
    <div class="page-container">
        <img id="element_1" class="element" src="/images/demo.webp" style="position: absolute; left: 136.5px; top: 83px; width: 100px; height: 100px; border: 1px solid #ddd; border-radius: 4px; position: absolute; object-fit: cover" alt="图片" />
    </div>
</body>
</html>